<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
    
    *{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    .box{
        width: 800px;
        height: 200px;
        border: 1px dashed gray;
        overflow: hidden;
    }
    .inner{
        width: 1600px;
        height: 100%;
        animation: play 5s linear infinite;
    }
    img{
        display: block;
        width: 200px;
        height: 100%;
        float: left;
    }
    @keyframes play {
        from{

        }
        to{
            transform: translateX(-50%);
        }
    }
    </style>
</head>
<body>
    <div class="box">
        <div class="inner">
            <img src="./images/01.jpg" alt="">
            <img src="./images/02.jpg" alt="">
            <img src="./images/03.jpg" alt="">
            <img src="./images/04.jpg" alt="">
            <img src="./images/01.jpg" alt="">
            <img src="./images/02.jpg" alt="">
            <img src="./images/03.jpg" alt="">
            <img src="./images/04.jpg" alt="">
        </div>
    </div>
</body>
</html>